import Observer from './Observer.js'
export function observe (value) {
  if (typeof value !== 'object') return
  var ob;
  if (typeof value.__ob__ !== 'undefined') {
    console.log('有__ob__')
    ob = __ob__
  } else {
    ob = new Observer(value)
  }
  return ob
}